home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Online / pgp263in010323 / en.hlp < prev    next >
Text File  |  2002-10-27  |  4KB  |  130 lines

  1. Here's a quick summary of PGP 2.6.3(i) commands:
  2. ================================================
  3.  
  4. To encrypt a plaintext file with the recipient's public key:
  5.      pgp -e textfile her_userid
  6.  
  7. To sign a plaintext file with your secret key:
  8.      pgp -s textfile [-u your_userid]
  9.  
  10. To sign a plaintext file with your secret key and have the output
  11. readable to people without running PGP first:
  12.      pgp -sta textfile [-u your_userid]
  13.  
  14. To sign a plaintext file with your secret key, and then encrypt it 
  15. with the recipient's public key:
  16.      pgp -es textfile her_userid [-u your_userid]
  17.  
  18. To encrypt a plaintext file with just conventional cryptography, type:
  19.      pgp -c textfile
  20.  
  21. To decrypt an encrypted file, or to check the signature integrity of a
  22. signed file:
  23.      pgp ciphertextfile [-o plaintextfile]
  24.  
  25. To encrypt a message for any number of multiple recipients:
  26.      pgp -e textfile userid1 userid2 userid3
  27.  
  28.  
  29. Key management commands:
  30. ------------------------
  31.  
  32. To generate your own unique public/secret key pair:
  33.      pgp -kg
  34.  
  35. To add a public or secret key file's contents to your public or
  36. secret key ring:
  37.      pgp -ka keyfile [keyring]
  38.  
  39. To extract (copy) a key from your public or secret key ring:
  40.      pgp -kx userid keyfile [keyring]
  41. or:  pgp -kxa userid keyfile [keyring]
  42.  
  43. To view the contents of your public key ring:
  44.      pgp -kv[v] [userid] [keyring] 
  45.  
  46. To view the "fingerprint" of a public key, to help verify it over 
  47. the telephone with its owner:
  48.      pgp -kvc [userid] [keyring]
  49.  
  50. To view the contents and check the certifying signatures of your 
  51. public key ring:
  52.      pgp -kc [userid] [keyring] 
  53.  
  54. To edit the userid or pass phrase for your secret key:
  55.      pgp -ke userid [keyring]
  56.  
  57. To edit the trust parameters for a public key:
  58.      pgp -ke userid [keyring]
  59.  
  60. To remove a key or just a userid from your public key ring:
  61.      pgp -kr userid [keyring]
  62.  
  63. To sign and certify someone else's public key on your public key ring:
  64.      pgp -ks her_userid [-u your_userid] [keyring]
  65.  
  66. To remove selected signatures from a userid on a keyring:
  67.      pgp -krs userid [keyring]
  68.  
  69. To permanently revoke your own key, issuing a key compromise certificate:
  70.      pgp -kd your_userid
  71.  
  72. To disable or reenable a public key on your own public key ring:
  73.      pgp -kd userid
  74.  
  75. To permanently revoke your own certificate from someone else's public key:
  76.      pgp -kds userid [-u your_userid] [keyring]
  77.  
  78.  
  79. Esoteric commands:
  80. ------------------
  81.  
  82. To decrypt a message and leave the signature on it intact:
  83.      pgp -d ciphertextfile
  84.  
  85. To create a signature certificate that is detached from the document:
  86.      pgp -sb textfile [-u your_userid]
  87.  
  88. To detach a signature certificate from a signed message:
  89.      pgp -b ciphertextfile
  90.  
  91.  
  92. Command options that can be used in combination with other 
  93. command options (sometimes even spelling interesting words!):
  94. -------------------------------------------------------------
  95.  
  96. To produce a ciphertext file in ASCII radix-64 format, just add the
  97. -a option when encrypting or signing a message or extracting a key:
  98.      pgp -sea textfile her_userid
  99. or:  pgp -kxa userid keyfile [keyring]
  100.  
  101. To wipe out the plaintext file after producing the ciphertext file,
  102. just add the -w (wipe) option when encrypting or signing a message:
  103.      pgp -sew message.txt her_userid
  104.  
  105. To specify that a plaintext file contains ASCII text, not binary, and
  106. should be converted to recipient's local text line conventions, add
  107. the -t (text) option to other options:
  108.      pgp -seat message.txt her_userid
  109.  
  110. To view the decrypted plaintext output on your screen (like the
  111. Unix-style "more" command), without writing it to a file, use 
  112. the -m (more) option while decrypting:
  113.      pgp -m ciphertextfile
  114.  
  115. To specify that the recipient's decrypted plaintext will be shown
  116. ONLY on her screen and cannot be saved to disk, add the -m option:
  117.      pgp -steam message.txt her_userid
  118.  
  119. To recover the original plaintext filename while decrypting, add 
  120. the -p option:
  121.      pgp -p ciphertextfile
  122.  
  123. To use a Unix-style filter mode, reading from standard input and
  124. writing to standard output, add the -f option:
  125.      pgp -feast her_userid <inputfile >outputfile
  126.  
  127. To include additional userids from a textfile when encrypting a
  128. message, use the -@ option:
  129.      pgp -e textfile one_userid -@moreids.txt
  130.